package com.fix.dao;

import java.util.List;
import java.util.Map;

import com.fix.entity.Users;

public interface UserDao {
	
	//查所有
	public List<Users> list();
	
	// ID找
	public Users getUserById(Integer uid);
	
	//增加
	public int add(Users user);
	
	//删除
	public int del(Integer uid);
	
	//修改
	public int update(Users user);
	
	//修改2
	public Users login(Map map);
	
	//总条数
	public long count();
}
